package com.winchain.chainbill.receivables.biz.mod.controller;

import com.shell.bee.base.annotation.Logging;
import com.shell.bee.entity.mvc.RetMsg;
import com.shell.bee.mvc.controller.BaseController;
import com.winchain.chainbill.receivables.base.po.ArRecord;
import com.winchain.chainbill.receivables.biz.mod.service.ReceivablesModService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
public class ReceivablesModController extends BaseController {
	@Autowired
	private ReceivablesModService receivablesModService;

	@RequestMapping
	@ResponseBody
	@Logging(module = "������������", methods = "������������")
	public RetMsg mod(ArRecord arRecord) throws Exception {
		this.receivablesModService.mod(arRecord);
		return new RetMsg("success", false, "����������������");
	}
}
